<template>
	<h3> 字典项目管理</h3>
	{{$route.query.id}}<br />
	{{$route.query.name}}<br />
</template>

<script setup>
import { onMounted } from 'vue';
import { useRoute } from 'vue-router';

let route=useRoute()
onMounted(()=>{
	alert("页面挂载前")
	alert(route.query.id)
})
</script>

<style>
</style>